package quanlyhochieu.func234;

import java.util.ArrayList;

public class CoQuan {
	private String ten;
	private ArrayList<HoChieu> hochieus = new ArrayList<HoChieu>();
	
	
	
	/**
	 * @param ten
	 * @param hochieus
	 */
	public CoQuan(String ten, ArrayList<HoChieu> hochieus) {
		this.ten = ten;
		this.hochieus = hochieus;
	}
	public CoQuan(String ten) {
		this.ten = ten;
	}
	/****************************************************
	 * Method name		: getTen [GETTER]
	 * Return type		: CoQuan
	 * Description		: 
	 * Created date		: Aug 16, 2008
	 * Author			: Phonglt
	 ****************************************************/
	public String getTen() {
		return ten;
	}
	/****************************************************
	 * Method name		: setTen [SETTER]
	 * Return type		: void
	 * Description		: 
	 * Created date		: Aug 16, 2008
	 * Author			: Phonglt
	 ****************************************************/
	public void setTen(String ten) {
		this.ten = ten;
	}
	/****************************************************
	 * Method name		: getHochieus [GETTER]
	 * Return type		: CoQuan
	 * Description		: 
	 * Created date		: Aug 16, 2008
	 * Author			: Phonglt
	 ****************************************************/
	public ArrayList<HoChieu> getHochieus() {
		return hochieus;
	}
	/****************************************************
	 * Method name		: setHochieus [SETTER]
	 * Return type		: void
	 * Description		: 
	 * Created date		: Aug 16, 2008
	 * Author			: Phonglt
	 ****************************************************/
	public void setHochieus(ArrayList<HoChieu> hochieus) {
		this.hochieus = hochieus;
	}
	
	public int getSize(){
		return this.hochieus.size();
	}
}
